﻿namespace monitor_2_DBwork
{
    class Options : IRepositoryName
    {
        public Options() { }

        public Options(string name, string value)
        {
// ReSharper disable DoNotCallOverridableMethodsInConstructor
            Name = name;
            Value = value;
// ReSharper restore DoNotCallOverridableMethodsInConstructor
        }

// ReSharper disable UnusedAutoPropertyAccessor.Local
        public virtual int Id { get; protected set; }
// ReSharper restore UnusedAutoPropertyAccessor.Local

        public virtual string Name { get; set; }

        public virtual string Value { get; set; }
    }
}
